package view.plugin
{
	//倍数低分等
	
	import flash.display.BitmapData;
	import flash.display.DisplayObject;
	import flash.display.DisplayObjectContainer;
	import flash.display.Sprite;
	
	import util.ImageNumber;
	
	public class BaseScore extends Sprite
	{
		private var main:DisplayObjectContainer = null;
		private var number:ImageNumber = null;
		
		public function BaseScore(mc:DisplayObjectContainer, bmp:BitmapData)
		{
			super();
			main = mc;
			number = new ImageNumber(bmp);
			number.signVisible = false;
			number.x = main.width + 20;
			number.y = (main.height-bmp.height)/2;
			main.addChild(number);
			addChild(main);
		}
		
		public function set value(v:*):void
		{
			number.value = v;
		}
	}
}